<template>
  <div style="background:#f0f2f5;margin-top: -20px;height:100%;">
    <div>
      <h2>对不起，你没有权限</h2> <br>
      <button @click="backToHome">返回首页</button>
    </div>
  </div>
</template>

<script setup lang="ts">
import {useRouter} from 'vue-router'
const router = useRouter()

const backToHome = () => {
  router.push('/')
}
</script>

<style>

</style>